package com.lagou.edu.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Autowired {
    /**
     * 被依赖对象在容器里的id
     *
     * @return
     */
    String depid();

    /**
     * 依赖对象在容器里的id
     * @return
     */
    String owner();
}
